<?php
session_start(); 
if(!isset($_SESSION['userName'])){
header( 'location:../../index.php' ); 
}
	include("../../conf/connect.php");
	$serial=$_GET['serial'];
	//$hid = $_GET['hid']; 
	 $hid= $_SESSION['usrHHid'];
	 $user_id =$_SESSION['user_id'];
	$bid = $_GET['bid'];
	$mmid = $_GET['mmid'];
	$resp_id=$_GET['resp_id'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="../../style.css" media="screen" />
	<link rel="shortcut icon" href="../images/favicon.ico" />
</head>
<body class="iub_back">
<?php
		$sql = "SELECT $serial FROM adult_question WHERE user_id='$user_id' and hid='$hid' and resp_id='$resp_id' " ;
		$result = mysql_query($sql);
		$row = mysql_fetch_array($result);
		
		
?>
<?php if($serial=='emp01'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;resp_id=<?php echo $resp_id;?>">	
		<table align="center" class="table_border">
			<tr align="left">
							<td align="left" valign="top">EMP01: Did you work last month:</td>
					</tr>
					<tr align="left">
							<td align="left" <?php if($row['emp01'] == ''||$row['emp01'] == '0'){?>bgcolor="#F7A244"<?php }?>>
								<select name="name">
									 <?php
											if($row['emp01'] == ''||$row['emp01'] == '0'){
											 echo "<option value='0' selected='selected'> Select</option>";
											}
											else{
												$hop=$row['emp01'];
												$sql1="SELECT value from retreive_data WHERE qus='emp01' and hoption='$hop' ";
												$result1= mysql_query($sql1) or die ("problem 2ND BLOCK OF RESPONDENT");
												$value = mysql_fetch_assoc($result1);
												$mv= $value['value'];
												echo "<option value='$hop' selected='selected'> $hop-$mv</option>";
											}
										?>
									<option value="1">1-Yes</option>
									<option value="2">2-No</option>
								</select>					
							</td>
					</tr>
					<tr>
							<td  align="right">
								<input type="submit" value="Next" class="input-box" />&nbsp;
							</td>
					</tr>	
			
		</table>
	</form>
<?php }?>
<?php if($serial=='emp02'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;resp_id=<?php echo $resp_id;?>">	
		<table align="center" class="table_border">
			<tr align="left">
							<td align="left" valign="top">EMP02: Why didn't you work:</td>
					</tr>
					<tr align="left">
							<td align="left" <?php if($row['emp02'] == ''||$row['emp02'] == '0'){?>bgcolor="#F7A244"<?php }?>>
								<select name="name">
									 <?php
											if($row['emp02'] == ''||$row['emp02'] == '00'){
											 echo "<option value='00' selected='selected'> Select</option>";
											}
											else{
												$hop=$row['emp02'];
												$sql1="SELECT value from retreive_data WHERE qus='emp02' and hoption='$hop' ";
												$result1= mysql_query($sql1) or die ("problem 2ND BLOCK OF RESPONDENT");
												$value = mysql_fetch_assoc($result1);
												$mv= $value['value'];
												echo "<option value='$hop' selected='selected'> $hop-$mv</option>";
											}
										?>
									<option value="01"> 01-Retired </option>
									<option value="02"> 02-Sick </option>
									<option value="03"> 03-Become Paralysed </option>
									<option value="04"> 04-For Marrying </option>
									<option value="05"> 05-Become older</option>
									<option value="06"> 06-For child birth</option>
									<option value="07"> 07-Other's</option>
								</select>						
							</td>
					</tr>
					<tr>
							<td  align="right">
								<input type="submit" value="Next" class="input-box" />&nbsp;
							</td>
					</tr>	
			
		</table>
	</form>
<?php }?>
<?php if($serial=='emp03'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;resp_id=<?php echo $resp_id;?>">	
		<table align="center" class="table_border">
			<tr align="left">
							<td align="left" valign="top">EMP03: What was your last ocpt:</td>
					</tr>
					<tr align="left">
							<td align="left" <?php if($row['emp03'] == ''||$row['emp03'] == '00'){?>bgcolor="#F7A244"<?php }?>>
								<select name="name">
									 <?php
											if($row['emp03'] == ''||$row['emp03'] == '00'){
											 echo "<option value='00' selected='selected'> Select</option>";
											}
											else{
												$hop=$row['emp03'];
												$sql1="SELECT value from retreive_data WHERE qus='q7' and hoption='$hop' ";
												$result1= mysql_query($sql1) or die ("problem 2ND BLOCK OF RESPONDENT");
												$value = mysql_fetch_assoc($result1);
												$mv= $value['value'];
												echo "<option value='$hop' selected='selected'> $hop-$mv</option>";
											}
										?>
									<option value="01"> 01-Farmer(Own land) </option>
									<option value="02"> 02-Farmer(Other's land) </option>
									<option value="03"> 03-Agr Labour </option>
									<option value="04"> 04-Labour </option>
									<option value="05"> 05-Head Worker </option>
									<option value="06"> 06-Paddy Business</option>
									<option value="07"> 07-Jute Business</option>
									<option value="08"> 08-</option>
									<option value="09"> 09-Contructor</option>
									<option value="10"> 10-Departmental store</option>
									<option value="11"> 11-Drug Store</option>
									<option value="12"> 12-</option>
									<option value="13"> 13-Restaurant</option>
									<option value="14"> 14-Fish Business</option>
									<option value="15"> 15-</option>
									<option value="16"> 16-</option>
									<option value="17"> 17-Cattle Business</option>
									<option value="18"> 18-Spectacle Shop</option>
									<option value="19"> 19-Rikshaw Business</option>
									<option value="20"> 20-Tempu Business</option>
									<option value="21"> 21-Other Business</option>
									<option value="22"> 22-Rikshaw Puller</option>
									<option value="23"> 23-Fisherman</option>
									<option value="24"> 24-</option>
									<option value="25"> 25-</option>
									<option value="26"> 26-Carpenter</option>
									<option value="27"> 27-</option>
									<option value="28"> 28-</option>
									<option value="29"> 29-</option>
									<option value="30"> 30-</option>
									<option value="31"> 31-</option>
									<option value="32"> 32-Tailor</option>
									<option value="33"> 33-Student</option>
									<option value="34"> 34-Retired</option>
									<option value="35"> 35-Unable</option>
									<option value="36"> 36-Finding job</option>
									<option value="37"> 37-No Job</option>
									<option value="38"> 38-Teacher(Govt Sch)</option>
									<option value="39"> 39-Teacher(Non-Govt Sch)</option>
									<option value="40"> 40-Teacher(Govt Clg)</option>
									<option value="41"> 40-Teacher(Non-Govt Clg)</option>
									<option value="42"> 42-</option>
									<option value="43"> 43-</option>
									<option value="44"> 44-Govt. Job(Health)</option>
									<option value="45"> 45-Police/Army/Ansar</option>
									<option value="46"> 46-Job(Post office)</option>
									<option value="47"> 47-Govt Jute Mills</option>
									<option value="48"> 48-Worker(Bank)</option>
									<option value="49"> 49-Worker(Hospital)</option>
									<option value="50"> 50-NGO worker</option>
									<option value="51"> 51-Garment Worker</option>
									<option value="52"> 52-Non Govt. Jute</option>
									<option value="53"> 53-Shop worker</option>
									<option value="54"> 54-Foreign Job</option>
									<option value="55"> 55-Other Job</option>
									<option value="56"> 56-Tempu Driver</option>
									<option value="57"> 57-Bus Driver</option>
									<option value="58"> 58-Mechanics</option>
									<option value="59"> 59-Doctor(MBBS)</option>
									<option value="60"> 60-Paramedical</option>
									<option value="61"> 61-Vill. Doctor</option>
									<option value="62"> 62-Engineer</option>
									<option value="63"> 63-</option>
									<option value="64"> 64-Home worker</option>
									<option value="65"> 65-</option>
									<option value="66"> 66-</option>
									<option value="67"> 67-</option>
									<option value="68"> 68-</option>
									<option value="69"> 69-</option>
									<option value="70"> 70-</option>
									<option value="71"> 71-</option>
								</select>					
							</td>
					</tr>
					<tr>
							<td  align="right">
								<input type="submit" value="Next" class="input-box" />&nbsp;
							</td>
					</tr>	
			
		</table>
	</form>
<?php }?>
<?php if($serial=='emp04_a'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;resp_id=<?php echo $resp_id;?>">	
		<table align="center" class="table_border">
			<tr align="left">
							<td align="left" valign="top">EMP04a: Main Profesn(present):</td>
					</tr>
					<tr align="left">
							<td align="left" <?php if($row['emp04_a'] == ''||$row['emp04_a'] == '00'){?>bgcolor="#F7A244"<?php }?>>
								<select name="name">
									 <?php
											if($row['emp04_a'] == ''||$row['emp04_a'] == '00'){
											 echo "<option value='00' selected='selected'> Select</option>";
											}
											else{
												$hop=$row['emp04_a'];
												$sql1="SELECT value from retreive_data WHERE qus='q7' and hoption='$hop' ";
												$result1= mysql_query($sql1) or die ("problem 2ND BLOCK OF RESPONDENT");
												$value = mysql_fetch_assoc($result1);
												$mv= $value['value'];
												echo "<option value='$hop' selected='selected'> $hop-$mv</option>";
											}
										?>
									<option value="01"> 01-Farmer(Own land) </option>
									<option value="02"> 02-Farmer(Other's land) </option>
									<option value="03"> 03-Agr Labour </option>
									<option value="04"> 04-Labour </option>
									<option value="05"> 05-Head Worker </option>
									<option value="06"> 06-Paddy Business</option>
									<option value="07"> 07-Jute Business</option>
									<option value="08"> 08-</option>
									<option value="09"> 09-Contructor</option>
									<option value="10"> 10-Departmental store</option>
									<option value="11"> 11-Drug Store</option>
									<option value="12"> 12-</option>
									<option value="13"> 13-Restaurant</option>
									<option value="14"> 14-Fish Business</option>
									<option value="15"> 15-</option>
									<option value="16"> 16-</option>
									<option value="17"> 17-Cattle Business</option>
									<option value="18"> 18-Spectacle Shop</option>
									<option value="19"> 19-Rikshaw Business</option>
									<option value="20"> 20-Tempu Business</option>
									<option value="21"> 21-Other Business</option>
									<option value="22"> 22-Rikshaw Puller</option>
									<option value="23"> 23-Fisherman</option>
									<option value="24"> 24-</option>
									<option value="25"> 25-</option>
									<option value="26"> 26-Carpenter</option>
									<option value="27"> 27-</option>
									<option value="28"> 28-</option>
									<option value="29"> 29-</option>
									<option value="30"> 30-</option>
									<option value="31"> 31-</option>
									<option value="32"> 32-Tailor</option>
									<option value="33"> 33-Student</option>
									<option value="34"> 34-Retired</option>
									<option value="35"> 35-Unable</option>
									<option value="36"> 36-Finding job</option>
									<option value="37"> 37-No Job</option>
									<option value="38"> 38-Teacher(Govt Sch)</option>
									<option value="39"> 39-Teacher(Non-Govt Sch)</option>
									<option value="40"> 40-Teacher(Govt Clg)</option>
									<option value="41"> 40-Teacher(Non-Govt Clg)</option>
									<option value="42"> 42-</option>
									<option value="43"> 43-</option>
									<option value="44"> 44-Govt. Job(Health)</option>
									<option value="45"> 45-Police/Army/Ansar</option>
									<option value="46"> 46-Job(Post office)</option>
									<option value="47"> 47-Govt Jute Mills</option>
									<option value="48"> 48-Worker(Bank)</option>
									<option value="49"> 49-Worker(Hospital)</option>
									<option value="50"> 50-NGO worker</option>
									<option value="51"> 51-Garment Worker</option>
									<option value="52"> 52-Non Govt. Jute</option>
									<option value="53"> 53-Shop worker</option>
									<option value="54"> 54-Foreign Job</option>
									<option value="55"> 55-Other Job</option>
									<option value="56"> 56-Tempu Driver</option>
									<option value="57"> 57-Bus Driver</option>
									<option value="58"> 58-Mechanics</option>
									<option value="59"> 59-Doctor(MBBS)</option>
									<option value="60"> 60-Paramedical</option>
									<option value="61"> 61-Vill. Doctor</option>
									<option value="62"> 62-Engineer</option>
									<option value="63"> 63-</option>
									<option value="64"> 64-Home worker</option>
									<option value="65"> 65-</option>
									<option value="66"> 66-</option>
									<option value="67"> 67-</option>
									<option value="68"> 68-</option>
									<option value="69"> 69-</option>
									<option value="70"> 70-</option>
									<option value="71"> 71-</option>
								</select>					
							</td>
					</tr>
					<tr>
							<td  align="right">
								<input type="submit" value="Next" class="input-box" />&nbsp;
							</td>
					</tr>	
			
		</table>
	</form>
<?php }?>
<?php if($serial=='emp04_b'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;resp_id=<?php echo $resp_id;?>">	
		<table align="center" class="table_border">
			<tr align="left">
							<td align="left" valign="top">EMP04b:Alt Profesn(if any):</td>
					</tr>
					<tr align="left">
							<td align="left" <?php if($row['emp04_b'] == ''||$row['emp04_b'] == '00'){?>bgcolor="#F7A244"<?php }?>>
								<select name="name">
									 <?php
											if($row['emp04_b'] == ''||$row['emp04_b'] == '00'){
											 echo "<option value='00' selected='selected'> Select</option>";
											}
											else{
												$hop=$row['emp04_b'];
												$sql1="SELECT value from retreive_data WHERE qus='q7' and hoption='$hop' ";
												$result1= mysql_query($sql1) or die ("problem 2ND BLOCK OF RESPONDENT");
												$value = mysql_fetch_assoc($result1);
												$mv= $value['value'];
												echo "<option value='$hop' selected='selected'> $hop-$mv</option>";
											}
										?>
									<option value="01"> 01-Farmer(Own land) </option>
									<option value="02"> 02-Farmer(Other's land) </option>
									<option value="03"> 03-Agr Labour </option>
									<option value="04"> 04-Labour </option>
									<option value="05"> 05-Head Worker </option>
									<option value="06"> 06-Paddy Business</option>
									<option value="07"> 07-Jute Business</option>
									<option value="08"> 08-</option>
									<option value="09"> 09-Contructor</option>
									<option value="10"> 10-Departmental store</option>
									<option value="11"> 11-Drug Store</option>
									<option value="12"> 12-</option>
									<option value="13"> 13-Restaurant</option>
									<option value="14"> 14-Fish Business</option>
									<option value="15"> 15-</option>
									<option value="16"> 16-</option>
									<option value="17"> 17-Cattle Business</option>
									<option value="18"> 18-Spectacle Shop</option>
									<option value="19"> 19-Rikshaw Business</option>
									<option value="20"> 20-Tempu Business</option>
									<option value="21"> 21-Other Business</option>
									<option value="22"> 22-Rikshaw Puller</option>
									<option value="23"> 23-Fisherman</option>
									<option value="24"> 24-</option>
									<option value="25"> 25-</option>
									<option value="26"> 26-Carpenter</option>
									<option value="27"> 27-</option>
									<option value="28"> 28-</option>
									<option value="29"> 29-</option>
									<option value="30"> 30-</option>
									<option value="31"> 31-</option>
									<option value="32"> 32-Tailor</option>
									<option value="33"> 33-Student</option>
									<option value="34"> 34-Retired</option>
									<option value="35"> 35-Unable</option>
									<option value="36"> 36-Finding job</option>
									<option value="37"> 37-No Job</option>
									<option value="38"> 38-Teacher(Govt Sch)</option>
									<option value="39"> 39-Teacher(Non-Govt Sch)</option>
									<option value="40"> 40-Teacher(Govt Clg)</option>
									<option value="41"> 40-Teacher(Non-Govt Clg)</option>
									<option value="42"> 42-</option>
									<option value="43"> 43-</option>
									<option value="44"> 44-Govt. Job(Health)</option>
									<option value="45"> 45-Police/Army/Ansar</option>
									<option value="46"> 46-Job(Post office)</option>
									<option value="47"> 47-Govt Jute Mills</option>
									<option value="48"> 48-Worker(Bank)</option>
									<option value="49"> 49-Worker(Hospital)</option>
									<option value="50"> 50-NGO worker</option>
									<option value="51"> 51-Garment Worker</option>
									<option value="52"> 52-Non Govt. Jute</option>
									<option value="53"> 53-Shop worker</option>
									<option value="54"> 54-Foreign Job</option>
									<option value="55"> 55-Other Job</option>
									<option value="56"> 56-Tempu Driver</option>
									<option value="57"> 57-Bus Driver</option>
									<option value="58"> 58-Mechanics</option>
									<option value="59"> 59-Doctor(MBBS)</option>
									<option value="60"> 60-Paramedical</option>
									<option value="61"> 61-Vill. Doctor</option>
									<option value="62"> 62-Engineer</option>
									<option value="63"> 63-</option>
									<option value="64"> 64-Home worker</option>
									<option value="65"> 65-</option>
									<option value="66"> 66-</option>
									<option value="67"> 67-</option>
									<option value="68"> 68-</option>
									<option value="69"> 69-</option>
									<option value="70"> 70-</option>
									<option value="71"> 71-</option>
								</select>					
							</td>
					</tr>
					<tr>
							<td  align="right">
								<input type="submit" value="Next" class="input-box" />&nbsp;
							</td>
					</tr>	
			
		</table>
	</form>
<?php }?>
<?php if($serial=='emp05'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;resp_id=<?php echo $resp_id;?>">	
		<table align="center" class="table_border">
			<tr align="left">
							<td align="left" valign="top">EMP05:Mostly earning Profesn:</td>
					</tr>
					<tr align="left">
							<td align="left" <?php if($row['emp05'] == ''||$row['emp05'] == '00'){?>bgcolor="#F7A244"<?php }?>>
								<select name="name">
									 <?php
											if($row['emp05'] == ''||$row['emp05'] == '00'){
											 echo "<option value='00' selected='selected'> Select</option>";
											}
											else{
												$hop=$row['emp05'];
												$sql1="SELECT value from retreive_data WHERE qus='q7' and hoption='$hop' ";
												$result1= mysql_query($sql1) or die ("problem 2ND BLOCK OF RESPONDENT");
												$value = mysql_fetch_assoc($result1);
												$mv= $value['value'];
												echo "<option value='$hop' selected='selected'> $hop-$mv</option>";
											}
										?>
									<option value="01"> 01-Farmer(Own land) </option>
									<option value="02"> 02-Farmer(Other's land) </option>
									<option value="03"> 03-Agr Labour </option>
									<option value="04"> 04-Labour </option>
									<option value="05"> 05-Head Worker </option>
									<option value="06"> 06-Paddy Business</option>
									<option value="07"> 07-Jute Business</option>
									<option value="08"> 08-</option>
									<option value="09"> 09-Contructor</option>
									<option value="10"> 10-Departmental store</option>
									<option value="11"> 11-Drug Store</option>
									<option value="12"> 12-</option>
									<option value="13"> 13-Restaurant</option>
									<option value="14"> 14-Fish Business</option>
									<option value="15"> 15-</option>
									<option value="16"> 16-</option>
									<option value="17"> 17-Cattle Business</option>
									<option value="18"> 18-Spectacle Shop</option>
									<option value="19"> 19-Rikshaw Business</option>
									<option value="20"> 20-Tempu Business</option>
									<option value="21"> 21-Other Business</option>
									<option value="22"> 22-Rikshaw Puller</option>
									<option value="23"> 23-Fisherman</option>
									<option value="24"> 24-</option>
									<option value="25"> 25-</option>
									<option value="26"> 26-Carpenter</option>
									<option value="27"> 27-</option>
									<option value="28"> 28-</option>
									<option value="29"> 29-</option>
									<option value="30"> 30-</option>
									<option value="31"> 31-</option>
									<option value="32"> 32-Tailor</option>
									<option value="33"> 33-Student</option>
									<option value="34"> 34-Retired</option>
									<option value="35"> 35-Unable</option>
									<option value="36"> 36-Finding job</option>
									<option value="37"> 37-No Job</option>
									<option value="38"> 38-Teacher(Govt Sch)</option>
									<option value="39"> 39-Teacher(Non-Govt Sch)</option>
									<option value="40"> 40-Teacher(Govt Clg)</option>
									<option value="41"> 40-Teacher(Non-Govt Clg)</option>
									<option value="42"> 42-</option>
									<option value="43"> 43-</option>
									<option value="44"> 44-Govt. Job(Health)</option>
									<option value="45"> 45-Police/Army/Ansar</option>
									<option value="46"> 46-Job(Post office)</option>
									<option value="47"> 47-Govt Jute Mills</option>
									<option value="48"> 48-Worker(Bank)</option>
									<option value="49"> 49-Worker(Hospital)</option>
									<option value="50"> 50-NGO worker</option>
									<option value="51"> 51-Garment Worker</option>
									<option value="52"> 52-Non Govt. Jute</option>
									<option value="53"> 53-Shop worker</option>
									<option value="54"> 54-Foreign Job</option>
									<option value="55"> 55-Other Job</option>
									<option value="56"> 56-Tempu Driver</option>
									<option value="57"> 57-Bus Driver</option>
									<option value="58"> 58-Mechanics</option>
									<option value="59"> 59-Doctor(MBBS)</option>
									<option value="60"> 60-Paramedical</option>
									<option value="61"> 61-Vill. Doctor</option>
									<option value="62"> 62-Engineer</option>
									<option value="63"> 63-</option>
									<option value="64"> 64-Home worker</option>
									<option value="65"> 65-</option>
									<option value="66"> 66-</option>
									<option value="67"> 67-</option>
									<option value="68"> 68-</option>
									<option value="69"> 69-</option>
									<option value="70"> 70-</option>
									<option value="71"> 71-</option>
								</select>					
							</td>
					</tr>
					<tr>
							<td  align="right">
								<input type="submit" value="Next" class="input-box" />&nbsp;
							</td>
					</tr>	
			
		</table>
	</form>
<?php }?>
<?php if($serial=='emp06'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;resp_id=<?php echo $resp_id;?>">	
		<table align="center" class="table_border">
			<tr align="left">
							<td align="left" valign="top">EMP06:Longest Profesn:</td>
					</tr>
					<tr align="left">
							<td align="left" <?php if($row['emp06'] == ''||$row['emp06'] == '00'){?>bgcolor="#F7A244"<?php }?>>
								<select name="name">
									 <?php
											if($row['emp06'] == ''||$row['emp06'] == '00'){
											 echo "<option value='00' selected='selected'> Select</option>";
											}
											else{
												$hop=$row['emp06'];
												$sql1="SELECT value from retreive_data WHERE qus='q7' and hoption='$hop' ";
												$result1= mysql_query($sql1) or die ("problem 2ND BLOCK OF RESPONDENT");
												$value = mysql_fetch_assoc($result1);
												$mv= $value['value'];
												echo "<option value='$hop' selected='selected'> $hop-$mv</option>";
											}
										?>
									<option value="01"> 01-Farmer(Own land) </option>
									<option value="02"> 02-Farmer(Other's land) </option>
									<option value="03"> 03-Agr Labour </option>
									<option value="04"> 04-Labour </option>
									<option value="05"> 05-Head Worker </option>
									<option value="06"> 06-Paddy Business</option>
									<option value="07"> 07-Jute Business</option>
									<option value="08"> 08-</option>
									<option value="09"> 09-Contructor</option>
									<option value="10"> 10-Departmental store</option>
									<option value="11"> 11-Drug Store</option>
									<option value="12"> 12-</option>
									<option value="13"> 13-Restaurant</option>
									<option value="14"> 14-Fish Business</option>
									<option value="15"> 15-</option>
									<option value="16"> 16-</option>
									<option value="17"> 17-Cattle Business</option>
									<option value="18"> 18-Spectacle Shop</option>
									<option value="19"> 19-Rikshaw Business</option>
									<option value="20"> 20-Tempu Business</option>
									<option value="21"> 21-Other Business</option>
									<option value="22"> 22-Rikshaw Puller</option>
									<option value="23"> 23-Fisherman</option>
									<option value="24"> 24-</option>
									<option value="25"> 25-</option>
									<option value="26"> 26-Carpenter</option>
									<option value="27"> 27-</option>
									<option value="28"> 28-</option>
									<option value="29"> 29-</option>
									<option value="30"> 30-</option>
									<option value="31"> 31-</option>
									<option value="32"> 32-Tailor</option>
									<option value="33"> 33-Student</option>
									<option value="34"> 34-Retired</option>
									<option value="35"> 35-Unable</option>
									<option value="36"> 36-Finding job</option>
									<option value="37"> 37-No Job</option>
									<option value="38"> 38-Teacher(Govt Sch)</option>
									<option value="39"> 39-Teacher(Non-Govt Sch)</option>
									<option value="40"> 40-Teacher(Govt Clg)</option>
									<option value="41"> 40-Teacher(Non-Govt Clg)</option>
									<option value="42"> 42-</option>
									<option value="43"> 43-</option>
									<option value="44"> 44-Govt. Job(Health)</option>
									<option value="45"> 45-Police/Army/Ansar</option>
									<option value="46"> 46-Job(Post office)</option>
									<option value="47"> 47-Govt Jute Mills</option>
									<option value="48"> 48-Worker(Bank)</option>
									<option value="49"> 49-Worker(Hospital)</option>
									<option value="50"> 50-NGO worker</option>
									<option value="51"> 51-Garment Worker</option>
									<option value="52"> 52-Non Govt. Jute</option>
									<option value="53"> 53-Shop worker</option>
									<option value="54"> 54-Foreign Job</option>
									<option value="55"> 55-Other Job</option>
									<option value="56"> 56-Tempu Driver</option>
									<option value="57"> 57-Bus Driver</option>
									<option value="58"> 58-Mechanics</option>
									<option value="59"> 59-Doctor(MBBS)</option>
									<option value="60"> 60-Paramedical</option>
									<option value="61"> 61-Vill. Doctor</option>
									<option value="62"> 62-Engineer</option>
									<option value="63"> 63-</option>
									<option value="64"> 64-Home worker</option>
									<option value="65"> 65-</option>
									<option value="66"> 66-</option>
									<option value="67"> 67-</option>
									<option value="68"> 68-</option>
									<option value="69"> 69-</option>
									<option value="70"> 70-</option>
									<option value="71"> 71-</option>
								</select>					
							</td>
					</tr>
					<tr>
							<td  align="right">
								<input type="submit" value="Next" class="input-box" />&nbsp;
							</td>
					</tr>	
			
		</table>
	</form>
<?php }?>
<?php if($serial=='emp07'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;resp_id=<?php echo $resp_id;?>">	
		<table align="center" class="table_border">
			<tr align="left">
							<td align="left" valign="top">EMP07:Avg Monthly Earning :</td>
					</tr>
					<tr align="left">
							<td align="left" <?php if($row['emp07'] == ''){?>bgcolor="#F7A244"<?php }?>>
									<input type="text" name="name" value="<?php echo $row['emp07'] ;?>" /> TK.				
							</td>
					</tr>
					<tr>
							<td  align="right">
								<input type="submit" value="Next" class="input-box" />&nbsp;
							</td>
					</tr>	
			
		</table>
	</form>
<?php }?>
	
</body>
</html>